import request from '@/utils/request.js'

export default {

    getList() {
        return request({
            url: `/admin/core/borrowInfo/list`,
            method: 'get',
        })
    },

    show(id) {
        return request({
            url: `/admin/core/borrowInfo/show/${id}`,
            method: 'get',
        })
    },

    approval(data) {
        return request({
            url: `/admin/core/borrowInfo/approval`,
            method: 'post',
            data
        })
    },

}
